package com.mall.service;

import com.github.pagehelper.PageInfo;
import com.mall.form.ShippingForm;
import com.mall.pojo.Shipping;
import com.mall.vo.ResponseVo;

import java.util.Map;

/**
 * @Author: 黄建
 * @Date: 2020/1/26 14:41
 */
public interface IShippingService {

    ResponseVo<Map<String,Integer>> add(Integer uid, ShippingForm shippingForm);

    ResponseVo delete(Integer uid, Integer shippingId);

    ResponseVo update(Integer uid,Integer shippingId, ShippingForm shippingForm);

    ResponseVo<PageInfo<Shipping>> list(Integer uid,Integer pageAge,Integer pageNum);
}
